package com.ropeok.service.impl;

import com.ropeok.domain.User;
import com.ropeok.domain.UserRole;
import com.ropeok.mapper.UserRoleMapper;
import com.ropeok.service.UserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @BelongsProject: training-mission
 * @BelongsPackage: com.ropeok.service.impl
 * @Author: zhofeifan
 * @CreateTime: 2022-09-26  14:36
 * @Description: TODO
 * @Version: 1.0
 */
@Service
public class UserRoleServiceImpl implements UserRoleService {
    @Autowired
    private UserRoleMapper userRoleMapper;

    @Override
    public void updateUser(UserRole userRole) {
        userRoleMapper.updateById(userRole);
    }
}
